load("//rust:defs.bzl", "rust_library", "rust_test_suite")

rust_library(
    name = "math_lib",
    srcs = ["src/lib.rs"],
    edition = "2018",
)

rust_test_suite(
    name = "tests_suite",
    srcs = glob(["tests/**"]),
    edition = "2018",
    shared_srcs = glob(["tests/helpers/**"]),
    deps = [":math_lib"],
)
